package com.gluck.cases.core.block.impl;

import com.gluck.cases.common.utils.dal.dao.CommonMapper;
import com.gluck.cases.core.block.CommonBlock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @ClassName CommonBlockImpl
 * @Desc TODO
 * @Author I am Gluck
 * @Date 2022/5/18 - 10:18 下午
 **/
@Service
public class CommonBlockImpl implements CommonBlock {

    @Autowired
    private CommonMapper commonMapper;

    @Override
    public Map<String, String> queryPermissionField(String columns, String table, String conditions, String conditionsValue) {
        return commonMapper.queryPermissionField(columns, table, conditions, conditionsValue);
    }
}
